/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package fr.adama.dto;

import fr.adama.entite.typePerso.TypeFacturation;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.Size;

/**
 *
 * @author mini-john
 */
public class ModeleFactureDTO implements Serializable {

    private Long id;
    @Size(min = 1,message = "{Size.modelFacture.nom}")
    private String nom;
    private String code;
    private String message;
    private TypeFacturation typeFacturation;
    @Size(min = 1,message = "{Size.modelFacture.ligneFactureModeles}")
    private List<LigneFactureModeleDTO> ligneFactureModeles;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNom() {
        return nom;
    }

    public void setNom(String nom) {
        this.nom = nom;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public TypeFacturation getTypeFacturation() {
        return typeFacturation;
    }

    public void setTypeFacturation(TypeFacturation typeFacturation) {
        this.typeFacturation = typeFacturation;
    }

    public List<LigneFactureModeleDTO> getLigneFactureModeles() {
        return ligneFactureModeles;
    }

    public void setLigneFactureModeles(List<LigneFactureModeleDTO> ligneFactureModeles) {
        this.ligneFactureModeles = ligneFactureModeles;
    }

}
